﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace PhoneBilling.Models
{
    public class UnkownEditModel
    {
        [Display(Name = "原始话单：")]
        public string 原始话单 { get; set; }

        [Display(Name = "主叫分机：")]
        public string 主叫分机 { get; set; }

        [Display(Name = "拨出号码：")]
        public string 拨出号码 { get; set; }

        [Required(ErrorMessage = "请选择话类.")]
        [Display(Name = "话类：")]
        public string 话类 { get; set; }
        public List<UIAreaType> 话类List { get; set; }

        [Required(ErrorMessage = "请输入时长.")]
        [Display(Name = "时长（秒）：")]
        public int 时长 { get; set; }

        [Display(Name = "挂机时间：")]
        public DateTime 挂机时间 { get; set; }

        [Required(ErrorMessage = "请输入拨叫地区.")]
        [Display(Name = "拨叫地区：")]
        public string 拨叫地区 { get; set; }

        [Required(ErrorMessage = "请输入通话计次.")]
        [Display(Name = "通话计次：")]
        public int 通话计次 { get; set; }

        [Required(ErrorMessage = "请输入话费.")]
        [Display(Name = "话费：")]
        public float 话费 { get; set; }

        [Display(Name = "话价（元）：")]
        public float 话价 { get; set; }

        [Display(Name = "计次单位（秒）：")]
        public int 计次单位 { get; set; }

        public Guid ID { get; set; }
    }
}